package stage1;
//矩形面积

public class Rectangle extends Shape {
    double n;
    double m;

    @Override
    public double calArea() {
        return n * m;
    }

    public Rectangle(double n, double m) {
        this.n = n;
        this.m = m;
    }
}
